﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/SiteWithControlAccess.Master"
    Inherits="ProjetoComperio.SystemFramework.Web.ComperioViewPage<ProjetoComperio.DataLayer.Entities.Event>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <%  
        using (Html.BeginForm("Edit", "Event", FormMethod.Post, new { id = "Edit" }))
        {
            Html.RenderPartial("~/Views/Event/EventForm.ascx"); 
    %>
    <div align="right">
        <input type="submit" value="Salvar" class="Button" id="Save">&nbsp;&nbsp;
        <input type="button" value="Voltar" class="Button" onclick="location='/Event/Index'"
            id="Return">
    </div>
    <% }
    %>
    <br />
    <%  Html.RenderPartial("~/Views/Contribution/ContributionItem.ascx"); %>
      <br />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="head" runat="server">
</asp:Content>
